pep8 software package provides Python PEP 8 code style checker - python2, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install pep8
pep8 is installed in your system.
Make ensure the pep8 package were installed using the commands given below,
$ sudo dpkg-query -l | grep pep8 *
You will get with pep8 package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Python |
| Package | pep8 |
| Version | 1.4.6-1.1build1 |
| Description | Python PEP 8 code style checker - python2 |
| Sub Section | Python |